﻿namespace HuaweiARUnitySDK
{
    using System;
    using System.Runtime.Serialization;

    /**
     * \if english
     * @brief Thrown when a fatal error occurs.
     * \else
     * @brief 致命錯誤時拋出。
     * \endif
     */
    class ARFatalException : ApplicationException
    {
        ///@cond EXCLUDE_DOXYGEN
        public ARFatalException() : base() { }
        public ARFatalException(string message) : base(message) { }

        public ARFatalException(string message, Exception innerException) : base(message, innerException) { }
        protected ARFatalException(SerializationInfo info, StreamingContext context) : base(info, context) { }
        ///@endcond
    }
}
